﻿1857.1.1 = {
	capital = 117

	oob = "NSC_1857"

	set_convoys = 0

	set_research_slots = 2
	
	add_to_variable = { prestige_score = 5 }

	set_country_flag = NSC_sicilian_bandits

	### Economy
    add_ideas = generic_unemployment_idea
    set_variable = { unemployment_value_modifier = 0.1 }
    set_variable = { current_unemployment = 0.35 }
    clamp_variable = {
        var = current_unemployment
        min = 0
        max = 1
    }
    update_unemployment_modifier = yes
    add_to_variable = { money = 6 }
	set_variable = { current_loans_sum = 40 }

	add_ideas = {
		#POLITICS

		#hos_is_leader
		victorian_era
		doctrine_napoleonic_army_1
		agrarian
		#weak_heir
		#absolute_monarchy

		civilian_economy
		limited_exports
		army_spending_level_3
		taxation_level_2
		cl_legal
		

		#stagnation_growth
		border_control
		early_conscription
		limited_equality
		absolutism
		pp_underground_parties

		#no_constitution
		no_elections

		privileged_education
		state_religion
		censored_press
		foa_state_only
		tu_state_controlled
		kangaroo_court
		#religion_catholic

		 social_spending_level_1
		law_spending_level_3
		road_spending_level_1
		navy_spending_level_3
		research_spending_level_2

		#NATIONAL SPIRITS

		NSC_vic_idea_Cholera
		NSC_vic_idea_Poverty
		NSC_vic_idea_Sulphur
		NSC_vic_idea_Incapable_Army
		NSC_vic_idea_Sicilian_Menace
		NSC_vic_idea_Sulphur_UK
		PIE_Baby_Boom
		NSC_vic_idea_admiral_disloyalties
		NSC_vic_idea_Murattiani
		NSC_vic_idea_Academy_Of_Palermo
	}

	add_opinion_modifier = { target = ENG modifier = ITA_minor_NSC_UK_Sulphur }
	reverse_add_opinion_modifier = { target = ENG modifier = ITA_minor_NSC_UK_Sulphur }
	
	add_opinion_modifier = { target = USA modifier = ITA_minor_NSC_USA_Treaty }
	reverse_add_opinion_modifier = { target = USA modifier = ITA_minor_NSC_USA_Treaty }

	set_politics = {
		ruling_party = autocracy
	}

	set_popularities = {
		anarchism = 0
		ideology_social_liberalism = 10
		ideology_radical_socialism = 0
		social_egalitarianism = 5
		centrism = 20
		traditional_conservatism = 5
		radical_democracy = 0
		chauvinist_populism = 0
		autocracy = 60
		fundamentalism = 0
	}

	set_technology = {
		infantry_weapons = 1 traditional_mixed_arms = 1
		tribal_carrier_birds = 1 tribal_electrical_theory = 1
		tribal_steel_tools = 1
		tribal_tatics = 1
		tribal_gunpowder = 1
		tribal_riding = 1
		tribal_steam_experiments = 1
		tribal_forging = 1
		tribal_artisan = 1
		tribal_chemistry = 1
		tribal_guilds_trade = 1
		tribal_crop_planting = 1
		tribal_irrigation = 1
		tribal_crop_rotation = 1
		tribal_salted_smoked_goods = 1
		tribal_leching = 1
		tech_infantry_napoleonic_uniform = 1
		vic_army_cloth = 1
		tech_naval_corvette = 1
		tech_naval_mtg_24_pounder_battery = 1
		tech_naval_mtg_sails = 1
		tech_naval_mtg_crows_nest = 1
		tech_naval_early_gunboat = 1
		tech_naval_mtg_1857_corvette_hull = 1
		tech_naval_early_frigate = 1
		tech_naval_1850_frigate = 1
		tech_naval_lineship = 1
		tech_naval_mtg_32_pounder_battery = 1
		tech_naval_mtg_explosive_shells = 1
		tech_naval_mtg_paddle_wheels = 1
		tech_naval_mtg_repair_crews = 1
		tech_naval_capital_ship_naval_transportation = 1
		tech_naval_1850_gunboat = 1
		tech_naval_mtg_hardwood_capital_ship_hulls = 1
		tech_naval_1857_lineship = 1
		tech_naval_mtg_simple_floating_contact_mine = 1
		tech_naval_mtg_artillery_spotting_techniques = 1
		
		
		
		
		
		gw_artillery = 1
		iron_railways = 1
		steam_engine = 1
		manufactories = 1
		hot_blast_furnaces = 1
		start_build_tech = 1
		food_preserving_icebox = 1
		early_artificial_fertilizer = 1
		electrical_engineering = 1
		basic_cavalry = 1
		mass_transit_early = 1
		steam_locomotive = 1
		basic_train = 1
		train_1855 = 1
	}

	set_grand_doctrine = grand_doctrine_napoleonic_era
	set_sub_doctrine = napoleonic_light_cavalry_doctrine
	add_mastery = {
		amount = 100
		sub_doctrine = napoleonic_light_cavalry_doctrine
	}
	set_sub_doctrine = napoleonic_heavy_artillery_doctrine
	set_sub_doctrine = napoleonic_conservative_doctrine
	
	add_equipment_to_stockpile = { type = infantry_equipment_rifle_1 amount = 4000 producer = NSC }
	add_equipment_to_stockpile = { type = uniform_equipment_1 amount = 4000 producer = NSC }
	add_equipment_to_stockpile = { type = cavalry_equipment_0 amount = 1000 producer = NSC }
	add_equipment_to_stockpile = { type = cannon_equipment_0 amount = 1000 producer = NSC }
	add_equipment_to_stockpile = { type = train_equipment_1 amount = 10 producer = NSC }
	#Two Sicilies's National Debt amounted to 101.75m Ducats (= 17.04m Pound Sterling as of 1871) as of 1854; income per year roughly 6.5m Onces (= 1.66m Pound Sterling) = 10.27 GDP of debt

	# POLITICAL LEADERS

	recruit_character = NSC_ferdinand_ii
	recruit_character = NSC_francis_ii
	recruit_character = NSC_alfonso_i
	recruit_character = NSC_Carlo_Poerio
	recruit_character = NSC_lodovico_bianchini
	recruit_character = NSC_salvatore_murena
	recruit_character = NSC_salvatore_maniscalco

	# Generals/Navy
	recruit_character = NSC_giovan_luca_von_mechel
	recruit_character = NSC_carlo_filangieri
	recruit_character = NSC_vincenzo_polizzi
	recruit_character = NSC_prince_louis_count_of_aquila
	recruit_character = NSC_alessandro_nunziante
	recruit_character = NSC_ferdinando_lanza
	recruit_character = NSC_giovanni_vacca
	recruit_character = NSC_felice_sabatelli
	recruit_character = NSC_roberto_pasca
	recruit_character = NSC_enrico_di_brocchetti
	recruit_character = NSC_mariano_d_ayala
	recruit_character = NSC_luigi_maria_bourbon

	# Advisors
	recruit_character = NSC_giuseppe_pigone_del_carretto
	recruit_character = NSC_luigi_amabile
	recruit_character = NSC_errico_amante
	recruit_character = NSC_bertrando_spaventa
	recruit_character = NSC_luigi_settembrini
	recruit_character = NSC_antonio_ranieri
	recruit_character = NSC_bernardo_quaranta
	recruit_character = NSC_raffaele_piria
	recruit_character = NSC_enrico_pessina
	recruit_character = NSC_giuseppe_antonio_pasquale
	recruit_character = NSC_francesco_saverio_de_sanctis
	recruit_character = NSC_luigi_giura
	recruit_character = NSC_alfonso_della_valle_di_casanova
	recruit_character = NSC_remigo_del_grosso
	recruit_character = NSC_annibale_de_gasparis
	recruit_character = NSC_alfredo_cottrau
	recruit_character = NSC_ernesto_capocci_belmonte
	recruit_character = NSC_vincenzo_florio_sr
	recruit_character = NSC_giovanni_rossi
	recruit_character = NSC_pasquale_villari
	recruit_character = NSC_luigi_palmieri
	recruit_character = NSC_benedetto_marzolla
	recruit_character = NSC_giacinto_gigante
	recruit_character = NSC_queen_maria_sophia
	recruit_character = NSC_queen_dowager_maria_theresa

	if = {
		limit = {
			has_dlc = "La Resistance"
		}
		create_intelligence_agency = { 
			name = "Sezione Servizi Segreti" 
			icon = "GFX_intelligence_agency_logo_nsc" 
		}
	}
	create_equipment_variant = {
		name = "Ship of the Line Class"
		type = ship_hull_lineship_1
		name_group = GER_CA_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_cannon_battery_0
			fixed_ship_fire_control_system_slot = fire_control_system_0
			fixed_ship_engine_slot = ship_engine_sail_2
			fixed_ship_armor_slot = empty
			front_1_custom_slot = ship_cannon_battery_0
			front_2_custom_slot = empty
			mid_1_custom_slot = ship_cannon_battery_0
			mid_2_custom_slot = empty
			mid_3_custom_slot = empty
			rear_1_custom_slot = ship_cannon_battery_0
		}
	}
	
	create_equipment_variant = {
		name = "Early Frigate Class"
		type = ship_hull_frigate_0
		name_group = GER_CA_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_cannon_battery_0
			fixed_ship_fire_control_system_slot = fire_control_system_0
			fixed_ship_engine_slot = ship_engine_sail_2
			fixed_ship_armor_slot = empty
			front_1_custom_slot = empty
			mid_1_custom_slot = ship_cannon_battery_0
			mid_2_custom_slot = empty
			rear_1_custom_slot = empty
		}
		obsolete = yes
	}
	
	create_equipment_variant = {
		name = "Frigate Class"
		type = ship_hull_frigate_1
		name_group = GER_CA_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_cannon_battery_0
			fixed_ship_fire_control_system_slot = fire_control_system_0
			fixed_ship_engine_slot = ship_engine_sail_2
			fixed_ship_armor_slot = empty
			front_1_custom_slot = empty
			mid_1_custom_slot = ship_cannon_battery_0
			mid_2_custom_slot = empty
			rear_1_custom_slot = empty
		}
		obsolete = no
	}
	
	create_equipment_variant = {
		name = "Gunboat Class"
		type = ship_hull_gunboat_1
		name_group = GER_CA_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_cannon_battery_1
			fixed_ship_fire_control_system_slot = fire_control_system_0
			fixed_ship_engine_slot = ship_engine_paddle_gunboat
			fixed_ship_secondaries_slot = empty
			fixed_ship_armor_slot = empty
			mid_1_custom_slot = empty
			mid_2_custom_slot = empty
			rear_1_custom_slot = ship_cannon_battery_1
		}
	}
	
	create_equipment_variant = {
		name = "Early Corvette Class"
		type = ship_hull_corvette_0
		name_group = GER_CA_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_cannon_battery_0
			fixed_ship_fire_control_system_slot = fire_control_system_0
			fixed_ship_engine_slot = ship_engine_sail_0
			fixed_ship_armor_slot = empty
			mid_1_custom_slot = empty
			front_1_custom_slot = empty
		}
		obsolete = yes
	}
	
	create_equipment_variant = {
		name = "Corvette Class"
		type = ship_hull_corvette_1
		name_group = GER_CA_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_cannon_battery_0
			fixed_ship_fire_control_system_slot = fire_control_system_0
			fixed_ship_engine_slot = ship_engine_sail_0
			fixed_ship_armor_slot = empty
			mid_1_custom_slot = empty
			front_1_custom_slot = empty
		}
		obsolete = no
	}
	set_naval_oob = "NSC_1857_naval_mtg"
	
	set_country_flag = EOANBSYS_national_crisis_risorgimento_crisis_flag
	EOANBSYS_national_crisis_setup = yes
	EOANBSYS_national_crisis_progress_minus_twenty = yes
	EOANBSYS_national_crisis_progress_minus_five = yes
}